//
// Created by jinbang.li on 2023/4/6.
//

#ifndef OPENPLAYDEMO_OPLOG_H
#define OPENPLAYDEMO_OPLOG_H


class OpLog {

};

#ifdef ANDROID
#include <android/log.h>
#define OPLOGD(...) __android_log_print(ANDROID_LOG_DEBUG,"OPPlay",__VA_ARGS__)
#define OPLOGI(...) __android_log_print(ANDROID_LOG_INFO,"OPPlay",__VA_ARGS__)
#define OPLOGE(...) __android_log_print(ANDROID_LOG_ERROR,"OPPlay",__VA_ARGS__)
#else
#define XLOGD(...) printf("OpenPlayer",__VA_ARGS__)
#define XLOGI(...) printf("OpenPlayer",__VA_ARGS__)
#define XLOGE(...) printf("OpenPlayer",__VA_ARGS__)

#endif

#endif //OPENPLAYDEMO_OPLOG_H
